import {
  Preset,
  defineConfig,
  presetAttributify,
  // presetIcons,
  presetTypography,
  presetUno,
  // presetWebFonts,
  transformerDirectives,
  transformerVariantGroup
} from 'unocss'
import presetRemToPx from '@unocss/preset-rem-to-px'

export default defineConfig({
  shortcuts: [
    // ...
  ],
  theme: {
    colors: {
      // ...
    }
  },
  presets: [
    presetUno(),
    presetAttributify(),
    // presetIcons(),
    presetTypography(),
    // presetWebFonts({
    //   fonts: {}
    // })
    presetRemToPx({
      baseFontSize: 4
    }) as Preset
  ],
  transformers: [transformerDirectives(), transformerVariantGroup()]
})
